home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / gui / precog2_1.lha / Precognition2_1 / include / BoolGadget.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-16  |  1.2 KB  |  48 lines

  1. /* ==========================================================================
  2. **
  3. **                               BoolGadget.h
  4. **
  5. ** PObject<GraphicObject<Interactor<Valuator<BoolGadget
  6. **
  7. ** A BoolGadget is your basic boolean gadget with a 3D border, and
  8. ** a text label in its center.
  9. **
  10. ** See Interactor.h, Valuator.h for the list of functions supported by a
  11. ** BoolGadget.
  12. **
  13. **
  14. ** ©1991, 1992 WILLISoft
  15. **
  16. ** ==========================================================================
  17. */
  18.  
  19. #ifndef BOOLGADGET_H
  20. #define BOOLGADGET_H
  21.  
  22. #include "parms.h"
  23. #include "precognition3d.h"
  24. #include "Valuator.h"
  25. #include "EmbossedGadget.h"
  26.  
  27.  
  28. typedef EmbossedGadget BoolGadget; /* Gadget with a 3D border. */
  29.  
  30.  
  31. void BoolGadget_Init __PARMS((
  32.                       BoolGadget *self,
  33.                       PIXELS      LeftEdge,
  34.                       PIXELS      TopEdge,
  35.                       PIXELS      Width,
  36.                       PIXELS      Height,
  37.                       pcg_3DPens  Pens,
  38.                       char       *title
  39.                     ));
  40.  
  41. /* Additions for Builder Prototypes */
  42.  
  43. struct ValuatorClass *BoolGadgetClass( void );
  44.  
  45. void BoolGadgetClass_Init( struct ValuatorClass *class );
  46.  
  47. #endif
  48.